import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'check/create',
    method: 'post',
    data
  })
}

export function info(id) {
  return request({
    url: 'check/info/'+ id,
    method: 'get'
  })
}


export function del(id) {
  return request({
    url: 'check/del/'+ id,
    method: 'post'
  })
}

export function getCheckPageList(params) {
  return request({
    url: 'check/page-list/',
    method: 'get',
    params
  })
}
